﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MM.Model
{
    public class SPPayment
    {
        /// <summary>
        /// Rule OR映射构造函数
        /// </summary>
        public SPPayment(System.Data.IDataReader dr)
        {
            this.SNO = Convert.ToString(dr["SNO"]);
            this.SPName = Convert.ToString(dr["SPName"]);
            this.ChannelNO = Convert.ToString(dr["ChannelNO"]);
            this.ChannelName = Convert.ToString(dr["ChannelName"]);
            this.ONO = Convert.ToString(dr["ONO"]);
            this.ChannelPrice = Convert.ToDecimal(dr["ChannelPrice"]);
            this.ChannelPriceReal = Convert.ToDecimal(dr["ChannelPriceReal"]);

        }

        /// <summary>
        /// 
        /// </summary>
        public string SNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string SPName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ONO { get; set; }

        /// <summary>
        /// 系统统计成功条数
        /// </summary>
        public int SysNum { get; set; }

        /// <summary>
        /// 通道给的条数
        /// </summary>
        public int FillNum { get; set; }

        public decimal ChannelPrice { get; set; }

        public decimal ChannelPriceReal { get; set; }

        public decimal SysSumMoney { get; set; }

        public decimal RealSumMoney { get; set; }

        public decimal OffSumMoney { get; set; }
    }
}
